package com.chengdu.chun.service;

import com.chengdu.chun.po.User;


public interface UserService {
    /**
     * 用户登录验证
     * @param name  用户名
     * @param pass  用户密码
     * @return      登录成功返回用户对象
     */
    public User login(String name, String pass);

    public boolean insertUser(User user);

    public User userinfobyuid(Integer uid);

    public boolean updatePassword(Integer uid, String pass);
}
